package bookstore;

public class IntegerAdd {
	
	public static void main(String[]args) {
		int result = foradd(100);
		
	}
	
	static in add(int n) {
		int result = 0;
		for(int i = 1; 1 <= 100; i++) {
			result +=1;
		}
		return 0;
	}
	static int whileadd(int n) {
		int result = 0;
		int i =1;
		while(i <=100) {
			result += i;
			i++;
		}
		return result;
	}
	
	static int dowhileadd(int n) {
		int result = 0;
		int i = 1;
		do {
			result +=1;
			i++;
		}while(i <= 100);
		return result;
	}
	
	static int average(int n) {
		Scanner sacn = new Scanner(System.in);
		int sum =0;
		for(int i = 1; i<= n; i++) {
			
			
		}
		int average = sum/n;
		return averge;
	}
	
}
